home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Sample Code / Codecs / DrawTextCodec / drawtextcodec.r < prev    next >
Encoding:
Text File  |  1992-05-18  |  670 b   |  72 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2. #include "MPWTypes.r"
  3. #include "ImageCodec.r"
  4.  
  5. type 'cdec' {
  6.     hex string;
  7. };
  8.  
  9.  
  10. resource 'cdci' (128 ) {
  11.     "Courier",
  12.     1,
  13.     1,
  14.     'appl',
  15.     codecInfoDoes1,
  16.     codecInfoDoes1,
  17.     codecInfoDepth1,
  18.     100,
  19.     100,
  20.     200,
  21.     200,
  22.     100,
  23.     0,
  24.     4,
  25.     4,
  26.     0,
  27.     0,
  28.     0
  29. };
  30.  
  31.  
  32.  
  33. resource 'thng' (128 ) {
  34.     compressorComponentType,
  35.     'font',
  36.     'appl',
  37.     codecInfoDoes1,
  38.     0,
  39.     'cdec',
  40.     128,
  41.     'STR ',
  42.     128,
  43.     'STR ',
  44.     128,
  45.     'ICON',
  46.     0
  47. };
  48.  
  49. resource 'thng' (129 ) {
  50.     decompressorComponentType,
  51.     'font',
  52.     'appl',
  53.     codecInfoDoes1,
  54.     0,
  55.     'cdec',
  56.     128,
  57.     'STR ',
  58.     129,
  59.     'STR ',
  60.     129,
  61.     'ICON',
  62.     0
  63. };
  64.  
  65.  
  66. resource 'STR ' (128 ) {
  67.     "Courier Compressor"
  68. };
  69.  
  70. resource 'STR ' (129 ) {
  71.     "Courier Decompressor"
  72. };